<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background: url(../img/注册背景.jpg)no-repeat;
            background-size: 100% auto;
        }

        #login_box {
            width: 40%;
            height: 400px;
            background-color: #00000085;
            margin: auto;
            margin-top: 10%;
            text-align: center;
            border-radius: 10px;
            padding: 50px 50px;
        }

        #login_box input,
        #login_box button {
            outline: none;
        }

        #login_box h2 {
            color: #ffffff90;
            margin-top: 5%;
        }

        #login_box #form #input_box {
            margin-top: 5%;
        }

        #login_box #form #input_box input {
            border: 0;
            width: 60%;
            font-size: 15px;
            color: #ffffff;
            background: #ffffff00;
            border-bottom: 2px solid #ffffff;
            padding: 5px 10px;
            margin-top: 10px;
        }

        #login_box button {
            margin-top: 50px;
            width: 50%;
            height: 30px;
            border-radius: 10px;
            border: 0;
            color: #fff;
            font-size: 15px;
            background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
            cursor: pointer;
        }
        a{
            text-decoration: none;
            color: white;
        }
    </style>

</head>

<body>
        <div id="login_box">
            <h2>登 录</h2>
            <div id="form">
                <div id="input_box">
                    <input type="text" placeholder="请输入用户名">
                </div>
                <div id="input_box">
                    <input type="password" placeholder="请输入密码">
                </div>
            </div>
            <button id="sign_in"><a href="index.html" target="_self">登录</a></button>
            <br>
            <button id="enroll"><a href="register.html" target="_blank">注册</a></button>

        </div>
    </body>

</html>